import Vue from 'vue'
import Router from 'vue-router'
import home from '../view/home'
import personalRecord from '../view/personalRecord'
import myResume from '../view/myResume'
import login from '../view/login'
import register from '../view/register'
import resumeFilling from '../view/resumeFilling'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/personalRecord',
      name: 'personalRecord',
      component: personalRecord
    },
    {
      path: '/myResume',
      name: 'myResume',
      component: myResume
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/resumeFilling',
      name: 'resumeFilling',
      component: resumeFilling
    }
  ]
})
